package com.efamily.ewallet.client.balance.service;

import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.efamily.ewallet.client.account.bean.AccountBean;
import com.efamily.ewallet.client.balance.bean.BalanceBean;
import com.efamily.ewallet.client.balance.bean.BalanceSearchConfig;
import com.efamily.ewallet.client.balance.service.BalanceService;
import com.efamily.ewallet.client.common.bean.CommentBean;
import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;

public interface BalanceServiceAsync {
	public final BalanceServiceAsync instance = GWT
			.create(BalanceService.class);

	void getBalanceBeans(AccountBean accountBean,BalanceSearchConfig searchConfig,
			PagingLoadConfig config,
			AsyncCallback<PagingLoadResult<BalanceBean>> callback);

	void getCommentBeans(AccountBean accountBean, CommentBean config,
			AsyncCallback<List<CommentBean>> callback);
}
